package com.nageoffer.shortLink.project.dao.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.nageoffer.shortLink.project.common.database.BaseDO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableName;
/**
 * (TLink)表实体类
 *
 * @author makejava
 * @since 2025-10-26 22:08:44
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_link")
public class ShortLinkDO extends BaseDO {
//ID@TableId
    private Long id;

//域名
    private String domain;
//短链接
    private String shortUri;
//完整短链接
    private String fullShortUrl;
//原始链接
    private String originUrl;
//点击量
    private Integer clickNum;
//分组标识
    private String gid;
//启用标识 （0：启用）（1：未启用）
    private Integer enableStatus;
//创建类型 0：控制台 1：接口
    private Integer createdType;
//有效期类型 0：永久有效 1：用户自定义
    private Integer validDateType;
//有效期
    private Date validDate;
//描述
    @TableField("`describe`")
    private String describe;
//网站标识
    private String favicon;

    @TableField(exist = false)
    private Integer totalPv;

    @TableField(exist = false)
    private Integer totalUv;

    @TableField(exist = false)
    private Integer totalUip;

    private Long delTime;






}
